package dnl.dtools.grm.semantic;

import java.net.URLStreamHandler;
import java.net.URLStreamHandlerFactory;


/**
 * @author <a href="mailto:daniel@nlayers.com">Daniel Or</a>
 */
public class SemanticStreamHandlerFactory implements URLStreamHandlerFactory{

    /* (non-Javadoc)
     * @see java.net.URLStreamHandlerFactory#createURLStreamHandler(java.lang.String)
     */
    public URLStreamHandler createURLStreamHandler(String protocol) {
        if("semantic".equals(protocol)){
            return new Handler();
        }
        return null;
    }
    
}
